/**
 * Copyright (C), 2015-2024, XXX有限公司
 * FileName: HelloController
 * Author:   zr
 * Date:     2024/10/9 12:21
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.itheima.springbootquickstart.contoller;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zr
 * @create 2024/10/9
 * @since 1.0.0
 */
@RestController
@Component
@ConfigurationProperties(prefix="my")
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello world~~~~~~~~";
    }
    private String name;
    private String address;
}

